package com.jt.www.model.vo.sdCheck;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author: cjw
 * @Description: 个人查询对象
 * @Date: 13:52 2018/11/1
 */
@ApiModel
public class HumanForProVO {

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 证件类型
     */
    @ApiModelProperty(value = "证件类型")
    private String licenceType;

    /**
     * 证件号
     */
    @ApiModelProperty(value = "证件号")
    private String licenceNo;

    /**
     * 性别（1男/2女）
     */
    @ApiModelProperty(value = "性别（1男/2女）")
    private String sex;

    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 电子邮件
     */
    @ApiModelProperty(value = "电子邮件")
    private String email;

    /**
     * 通信地址
     */
    @ApiModelProperty(value = "通信地址")
    private String location;

    /**
     * 职业类型
     */
    @ApiModelProperty(value = "职业类型")
    private String occupationType;

    /**
     * 省编码
     */
    @ApiModelProperty(value = "省编码")
    private String provinceCode;

    /**
     * 城市编码
     */
    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    /**
     * 区县编码
     */
    @ApiModelProperty(value = "区县编码")
    private String countyCode;

    /**
     * 国籍
     */
    @ApiModelProperty(value = "国籍")
    private String national = "CHN";

    /**
     * 职业编码
     */
    @ApiModelProperty(value = "职业编码")
    private String jobCode;

    /**
     * 家庭住址
     */
    @ApiModelProperty(value = "家庭住址")
    private String homeAddress;

    /**
     * 通信地址邮编
     */
    @ApiModelProperty(value = "通信地址邮编")
    private String zipcode1;

    /**
     * 家庭住址邮编
     */
    @ApiModelProperty(value = "家庭住址邮编")
    private String zipcode2;

    /**
     * 证件有效期起期
     */
    @JSONField(format = "yyyy-MM-dd")
    @ApiModelProperty(value = "证件有效期起期")
    private Date sValidate;

    /**
     * 证件有效期止期
     */
    @ApiModelProperty(value = "证件有效期止期")
    private String eValidate;

    /**
     * 自然人扩展集合
     */
    @ApiModelProperty(value = "自然人扩展集合")
    private List<ExtendForProVO> extendList = new ArrayList<ExtendForProVO>(0);


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLicenceType() {
        return licenceType;
    }

    public void setLicenceType(String licenceType) {
        this.licenceType = licenceType;
    }

    public String getLicenceNo() {
        return licenceNo;
    }

    public void setLicenceNo(String licenceNo) {
        this.licenceNo = licenceNo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getOccupationType() {
        return occupationType;
    }

    public void setOccupationType(String occupationType) {
        this.occupationType = occupationType;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getNational() {
        return national;
    }

    public void setNational(String national) {
        this.national = national;
    }

    public String getJobCode() {
        return jobCode;
    }

    public void setJobCode(String jobCode) {
        this.jobCode = jobCode;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getZipcode1() {
        return zipcode1;
    }

    public void setZipcode1(String zipcode1) {
        this.zipcode1 = zipcode1;
    }

    public String getZipcode2() {
        return zipcode2;
    }

    public void setZipcode2(String zipcode2) {
        this.zipcode2 = zipcode2;
    }

    public Date getsValidate() {
        return sValidate;
    }

    public void setsValidate(Date sValidate) {
        this.sValidate = sValidate;
    }

    public String geteValidate() {
        return eValidate;
    }

    public void seteValidate(String eValidate) {
        this.eValidate = eValidate;
    }

    public List<ExtendForProVO> getExtendList() {
        return extendList;
    }

    public void setExtendList(List<ExtendForProVO> extendList) {
        this.extendList = extendList;
    }

    @Override
    public String toString() {
        return "HumanForProVO{" +
                "name='" + name + '\'' +
                ", licenceType='" + licenceType + '\'' +
                ", licenceNo='" + licenceNo + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", location='" + location + '\'' +
                ", occupationType='" + occupationType + '\'' +
                ", provinceCode='" + provinceCode + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", countyCode='" + countyCode + '\'' +
                ", national='" + national + '\'' +
                ", jobCode='" + jobCode + '\'' +
                ", homeAddress='" + homeAddress + '\'' +
                ", zipcode1='" + zipcode1 + '\'' +
                ", zipcode2='" + zipcode2 + '\'' +
                ", sValidate=" + sValidate +
                ", eValidate='" + eValidate + '\'' +
                '}';
    }


}
